<%
var headerPart = {
%>
<style>
	html{background-color: #fff!important;}
</style>
<% }; %>
<% layout("/layouts/micro.html",{headerSection:headerPart}){ %>
<div class="layui-tab layui-tab-brief childrenBody">
  <ul class="layui-tab-title">
    <li ><a href="${ctx}/sys/user/info">个人信息</a></li>
    <li class="layui-this"><a href="${ctx}/sys/user/modifyPwd">修改密码</a></li>
  </ul>
  <div class="layui-tab-content">
   	<form id="inputForm" action="${ctx}/sys/user/modifyPwd" method="post" class="layui-form ">
   		<input name="id" type="hidden" value="${user.id}"/>
		<#message content="${message!}" />
		<div class="layui-form-item">
			<label class="layui-form-label">旧密码:</label>
			<div class="layui-input-inline">
				<input id="oldPassword" name="oldPassword" type="password" value="" maxlength="50" class="layui-input" lay-verify="required"/>
			</div>		
			<div class="layui-form-mid "><font color="red">*</font> </div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">新密码:</label>
			<div class="layui-input-inline">
				<input id="newPassword" name="newPassword" type="password" value="" maxlength="50" class="layui-input" lay-verify="required"/>
			</div>
			<div class="layui-form-mid "><font color="red">*</font> </div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">确认新密码:</label>
			<div class="layui-input-inline">
				<input id="confirmNewPassword" name="confirmNewPassword" type="password" value="" maxlength="50"  class="layui-input"  lay-verify="required" equalTo="#newPassword"/>
			</div>	
			<div class="layui-form-mid "><font color="red">*</font> </div>
		</div>
		<div class="layui-form-item">
	    	<div class="layui-input-block">
      			<button class="layui-btn" lay-filter="*" lay-submit>保 存</button>
		    </div>
	  	</div>
	 </form>
   </div>
</div>
<%}%>